package com.kaiwukj.android.ufamily.di.module;

import com.kaiwukj.android.mcas.di.scope.ActivityScope;
import com.kaiwukj.android.ufamily.mvp.contract.ReportContract;
import com.kaiwukj.android.ufamily.mvp.model.ReportModel;

import dagger.Module;
import dagger.Provides;

/**
 * @author Charles
 * @date 2019/8/14.
 * description：Kaiwu
 */

@Module
public class ReportModule {
    private ReportContract.View view;

    public ReportModule(ReportContract.View view) {
        this.view = view;
    }

    @ActivityScope
    @Provides
    public ReportContract.View provideView() {
        return this.view;
    }

    @ActivityScope
    @Provides
    public ReportContract.Model provideModel(ReportModel model) {
        return model;
    }
}
